package com.ttg.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;


/**
 * @author zhangHongYuan
 * @description
 * @date 2023/8/3 15:08
 */
@Data
@Accessors(chain = true)
@TableName(value = "tbl_app_coupon_vip_rating_config")
public class VipRatingConfig implements Serializable {

    private static final long serialVersionUID = 6906373784465518229L;
    /**
     * id（自增主键）
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 设置时间
     */
    @TableField(value = "setting_time")
    private LocalDate settingTime;


    /**
     * 条件开始
     */
    @TableField(value = "rating_start")
    private Long ratingStart;

    /**
     * 条件开始结束
     */
    @TableField(value = "rating_end")
    private Long ratingEnd;

    /**
     * 积分
     */
    @TableField(value = "score")
    private Long  score;


    /**
     * 所属规则任务id
     */
    @TableField(value = "rules_id")
    private Long rulesId;
    /**
     * 持续月数（连续规则)
     */
    @TableField(value = "continuous_month")
    private Long continuousMonth;

//    /**
//     * 等级类型 0对私1对公
//     */
//    @TableField(value = "grade_type")
//    private Integer gradeType;
}
